package cn.tedu.vo;

/**
 * Author：程Sir
 * Name： SmallServer
 * Content:
 *  值对象：用来表示查询到的值最终要以对象的形式体现或者参与逻辑运算
 *  因此设置的方式为VO方式
 *
 */
public class User {
    private String Username;
    private String password;
    private String nikename;
    private int age;

    public String getUsername() {
        return Username;
    }

    public void setUsername(String username) {
        Username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNikename() {
        return nikename;
    }

    public void setNikename(String nikename) {
        this.nikename = nikename;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "Username='" + Username + '\'' +
                ", password='" + password + '\'' +
                ", nikename='" + nikename + '\'' +
                ", age=" + age +
                '}';
    }
}
